Carbon


InitCursor

Header: Quickdraw.h Carbon status: Supported

Sets the current cursor to the standard arrow (level 0) and makes it visible.

void InitCursor ();
DISCUSSION

When your application starts up, the Finder sets the cursor to a wristwatch; this indicates that a short operation is in progress. When your application nears completion of its initialization tasks, it should call this function to change the cursor form a wristwatch to an arrow.

A value of –1 makes the cursor invisible. The cursor level keeps track of the number of times the cursor has been hidden to compensate for nested calls to the HideCursor and ShowCursor functions.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.

CARBON NOTES

When your Carbon application is launched, the system sets the cursor to the watch cursor. Your application should call InitCursor at the end of its startup initialization process, to reset the cursor.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)